package com.xjgc.model.entity.eip;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * <p>
 * 出厂检测
 * </p>
 *
 * @author wxy
 * @since 2019-11-11
 */
@TableName("zxj_eip_2c_ccjc")
public class ZxjEip2cCcjc implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 生产订单号
     */
    @ExcelProperty("生产订单号")
    @TableField("\"PRODUCT_ORD_NO\"")
    private String productOrdNo;

    /**
     * 产品编号
     */
    @ExcelProperty("屏号")
    @TableField(value = "\"PRODUCT_NO\"")
    private String productNo;

    /**
     * 绝缘检测 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"INSULATION_TEST_RES\"")
    private String insulationTestRes;

    /**
     * 耐压检测 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"PRESSURE_TEST_RES\"")
    private String pressureTestRes;

    /**
     * 电流精工范围 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"CURRENT_PRE_RANGE_RES\"")
    private String currentPreRangeRes;

    /**
     * 直流采样 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"DC_SAM_RES\"")
    private String dcSamRes;

    /**
     * 采样电压相位 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"SAM_VOLTAGE_PHASE_RES\"")
    private String samVoltagePhaseRes;

    /**
     * 采样电流幅值 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"SAM_CURREN_AMP_RES\"")
    private String samCurrenAmpRes;

    /**
     * 采样电流相位 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"SAM_CURREN_PHASE_RES\"")
    private String samCurrenPhaseRes;

    /**
     * 开入回路 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"OPEN_IN_CIRCUIT_RES\"")
    private String openInCircuitRes;

    /**
     * 开出回路 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"OPEN_OUT_CIRCUIT_RES\"")
    private String openOutCircuitRes;

    /**
     * 功能测试 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"FUNCTION_TEST_RES\"")
    private String functionTestRes;

    /**
     * 定值误差 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"FIXED_ERROR\"")
    private String fixedError;

    /**
     * 整组动作时间
     */
    @ExcelIgnore
    @TableField("\"WHOLE_ACT_TIME\"")
    private String wholeActTime;

    /**
     * 大功率中间继电器测试 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"HIG_POW_INT_REA_TES\"")
    private String higPowIntReaTes;

    /**
     * 启动失灵保护的动作节点的返回时间
     */
    @ExcelIgnore
    @TableField("\"RETURN_TIME\"")
    private String returnTime;

    /**
     * 完成时间
     */
    @ExcelIgnore
    @TableField("\"END_TIME\"")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 供应商编号
     */
    @ExcelIgnore
    @TableField("\"SUPPLIER_CODE\"")
    private String supplierCode;

    /**
     * 1：未读（默认状态）
     * 0：成功；
     */
    @ExcelIgnore
    @TableField("\"IOFLAG\"")
    private String ioflag;

    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private Integer tid;

    /**
     * 采样电压幅值 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"SAM_VOLTAGE_AMP_RES\"")
    private String samVoltageAmpRes;

    /**
     * 采样电压幅值 合格/不合格
     */
    @ExcelIgnore
    @TableField("\"PROCESS_ROUTE_NO\"")
    private String processRouteNo;

    /**
     * 审核状态 1未审核 2已审核
     */
    @ExcelIgnore
    @TableField("\"REVIEW_STATUS\"")
    private String reviewStatus;

    /**
     * 合同号
     */
    @ExcelProperty("合同号")
    @TableField(value = "\"CONTRACT_NUMBER\"")
    private String contractNumber;

    @ExcelIgnore
    @JsonIgnore
    @TableField("\"UPDATE_TIME\"")
    private Date updateTime;

    @ExcelIgnore
    @TableField(exist = false)
    private String doneStatus;

    /*--------------------------------------*/

    @TableField(exist = false)
    @ExcelProperty("状态")
    private String ioflagName;

    @TableField(exist = false)
    @ExcelProperty("推送结果")
    private String messageName;



    /*---------------------------------------------------------------------------------*/

    public String getIoflagName() {
        return ioflagName;
    }

    public void setIoflagName(String ioflagName) {
        this.ioflagName = ioflagName;
    }

    public String getMessageName() {
        return messageName;
    }

    public void setMessageName(String messageName) {
        this.messageName = messageName;
    }

    public String getDoneStatus() {
        return doneStatus;
    }

    public void setDoneStatus(String doneStatus) {
        this.doneStatus = doneStatus;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public String getProductOrdNo() {
        return productOrdNo;
    }

    public void setProductOrdNo(String productOrdNo) {
        this.productOrdNo = productOrdNo;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getInsulationTestRes() {
        return insulationTestRes;
    }

    public void setInsulationTestRes(String insulationTestRes) {
        this.insulationTestRes = insulationTestRes;
    }

    public String getPressureTestRes() {
        return pressureTestRes;
    }

    public void setPressureTestRes(String pressureTestRes) {
        this.pressureTestRes = pressureTestRes;
    }

    public String getCurrentPreRangeRes() {
        return currentPreRangeRes;
    }

    public void setCurrentPreRangeRes(String currentPreRangeRes) {
        this.currentPreRangeRes = currentPreRangeRes;
    }

    public String getDcSamRes() {
        return dcSamRes;
    }

    public void setDcSamRes(String dcSamRes) {
        this.dcSamRes = dcSamRes;
    }

    public String getSamVoltagePhaseRes() {
        return samVoltagePhaseRes;
    }

    public void setSamVoltagePhaseRes(String samVoltagePhaseRes) {
        this.samVoltagePhaseRes = samVoltagePhaseRes;
    }

    public String getSamCurrenAmpRes() {
        return samCurrenAmpRes;
    }

    public void setSamCurrenAmpRes(String samCurrenAmpRes) {
        this.samCurrenAmpRes = samCurrenAmpRes;
    }

    public String getSamCurrenPhaseRes() {
        return samCurrenPhaseRes;
    }

    public void setSamCurrenPhaseRes(String samCurrenPhaseRes) {
        this.samCurrenPhaseRes = samCurrenPhaseRes;
    }

    public String getOpenInCircuitRes() {
        return openInCircuitRes;
    }

    public void setOpenInCircuitRes(String openInCircuitRes) {
        this.openInCircuitRes = openInCircuitRes;
    }

    public String getOpenOutCircuitRes() {
        return openOutCircuitRes;
    }

    public void setOpenOutCircuitRes(String openOutCircuitRes) {
        this.openOutCircuitRes = openOutCircuitRes;
    }

    public String getFunctionTestRes() {
        return functionTestRes;
    }

    public void setFunctionTestRes(String functionTestRes) {
        this.functionTestRes = functionTestRes;
    }

    public String getFixedError() {
        return fixedError;
    }

    public void setFixedError(String fixedError) {
        this.fixedError = fixedError;
    }

    public String getWholeActTime() {
        return wholeActTime;
    }

    public void setWholeActTime(String wholeActTime) {
        this.wholeActTime = wholeActTime;
    }

    public String getHigPowIntReaTes() {
        return higPowIntReaTes;
    }

    public void setHigPowIntReaTes(String higPowIntReaTes) {
        this.higPowIntReaTes = higPowIntReaTes;
    }

    public String getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getIoflag() {
        return ioflag;
    }

    public void setIoflag(String ioflag) {
        this.ioflag = ioflag;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getSamVoltageAmpRes() {
        return samVoltageAmpRes;
    }

    public void setSamVoltageAmpRes(String samVoltageAmpRes) {
        this.samVoltageAmpRes = samVoltageAmpRes;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getProcessRouteNo() {
        return processRouteNo;
    }

    public void setProcessRouteNo(String processRouteNo) {
        this.processRouteNo = processRouteNo;
    }

    @Override
    public String toString() {
        return "ZxjEip2cCcjc{" +
                "productOrdNo=" + productOrdNo +
                ", productNo=" + productNo +
                ", insulationTestRes=" + insulationTestRes +
                ", pressureTestRes=" + pressureTestRes +
                ", currentPreRangeRes=" + currentPreRangeRes +
                ", dcSamRes=" + dcSamRes +
                ", samVoltagePhaseRes=" + samVoltagePhaseRes +
                ", samCurrenAmpRes=" + samCurrenAmpRes +
                ", samCurrenPhaseRes=" + samCurrenPhaseRes +
                ", openInCircuitRes=" + openInCircuitRes +
                ", openOutCircuitRes=" + openOutCircuitRes +
                ", functionTestRes=" + functionTestRes +
                ", fixedError=" + fixedError +
                ", wholeActTime=" + wholeActTime +
                ", higPowIntReaTes=" + higPowIntReaTes +
                ", returnTime=" + returnTime +
                ", endTime=" + endTime +
                ", ioflag=" + ioflag +
                ", tid=" + tid +
                ", samVoltageAmpRes=" + samVoltageAmpRes +
                ", updateTime=" + updateTime +
                "}";
    }
}
